package com.sxhalo.fsms.service.impl;

import com.sxhalo.fsms.domain.SysDicCode;

import com.sxhalo.fsms.domain.SysDicCodeKey;
import com.sxhalo.fsms.mapper.SysDicCodeMapper;
import com.sxhalo.fsms.service.ISysDicCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysDicCodeServiceImpl implements ISysDicCodeService {

	@Autowired
	private SysDicCodeMapper mapper;
	
	@Override
	public Integer insertSelective(SysDicCode record) {
		return mapper.insertSelective(record);
	}

	@Override
	public Integer updateByPrimaryKeySelective(SysDicCode record) {
		return mapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public Integer deleteByPrimaryKey(Object key) {
		return mapper.deleteByPrimaryKey((SysDicCodeKey)key);
	}

	@Override
	public SysDicCode selectByPrimaryKey(Object key) {
		return mapper.selectByPrimaryKey((SysDicCodeKey)key);
	}

	@Override
	public List<SysDicCode> findWhereList(String where, String order) {
		return mapper.findWhereList(where, order);
	}

	@Override
	public Integer getCount(String where) {
		return mapper.getCount(where);
	}

	@Override
	public List<SysDicCode> findPagerList(Integer start, Integer length, String where, String order) {
		return mapper.findPagerList(start, length, where, order);
	}


	@Override
	public int deleteByWhere(String where) {
		return mapper.deleteByWhere(where);
	}
}
